package com.ruoyi.project.system.domain;

import java.math.BigDecimal;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import com.ruoyi.project.system.domain.vo.UserProduct;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 查询产品对象 siyu_product
 *
 * @author ruoyi
 * @date 2024-10-28
 */
@Data
public class SiyuProduct extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String code;

    private Integer sort;

    private String name;

    private String explain;

    private String type;

    private BigDecimal originalPrice;

    private BigDecimal unitPrice;

    private Integer numericalOrder;

    private String defaultAvailable;

    private String defaultNoAvailableMsg;

    private String defaultShow;

    private String status;

    private String del;

    public SiyuProduct() {
    }

    public SiyuProduct(UserProduct UP) {
        this.id = UP.getProductId();
        this.name = UP.getName();
    }
}
